package com.huixi.Enums;

/**
 * 校验类型
 */
public enum VerifyTypeEnum {

    USERNAME("1", "用户名"),
    PHONE("2", "手机");

    private String code;

    private String desc;

    VerifyTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
